package com.server.thisService.common.mongo;

import java.util.HashMap;
import java.util.Map;

public class MongoPageEntity {
    private int index = 0;
    private int size = 0;
    private Map<String, Integer> sorts = new HashMap<>();

    public int getIndex() {
        return index;
    }

    public void setIndex(int index) {
        this.index = index;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public Map<String, Integer> getSorts() {
        return sorts;
    }

    public void setSorts(Map<String, Integer> sorts) {
        this.sorts = sorts;
    }
}
